package com.jfinal.plugin.sqlxml;

import java.util.HashMap;

/**
 * 好吧，我只是简单的放进了hashmap，吼吼！
 * @author tangyang
 */
public class SQLDaoContainer {

    static HashMap<Class, Object> sqlMap = new HashMap<Class, Object>();

    public static <T> T get(Class<T> c) {
        return (T) sqlMap.get(c);
    }

    static void clear() {
        sqlMap.clear();
    }

    static void put(Class c, Object o) {
        sqlMap.put(c, o);
    }
}
